<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<style type="text/css">
A.nodec { text-decoration: none; }
</style>
</head>
<body>
<h1 class="pagetitle">storeRecord List</h1>

<pg:pager
	url="storeRecord!list.action"
    items="${pager.totalSize}"
    maxPageItems="${pager.pageSize}"
    isOffset="true"
    export="offset,currentPageNumber=pageNumber"
    scope="request">
  <jsp:include page="/WEB-INF/jsp/simple.jsp" flush="true"/>
  <table class="bigtable	">
  <tr><th>ID</th><th>storeRecord Name</th><th>quantity</th><th>leaveQuantity</th><th>price</th></tr>
  <s:iterator value="pager.list" status="pl">
<tr <s:if test="#pl.even">class="tr-even"</s:if>>
  	<td><strong><s:property value="id"/></strong></td>
  	<td><s:property value="partsName"/></td>
  	<td><s:property value="quantity"/></td>
  	<td><s:property value="leaveQuantity"/></td>
  	<td><s:property value="price"/></td>
  </tr>
  </s:iterator>
  </table>
 <jsp:include page="/WEB-INF/jsp/simple.jsp" flush="true"/>
 </pg:pager>
</body>
</html>